package com.acxiom.foodreview;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by hadong on 2017-03-23.
 */
@SpringBootApplication
@ComponentScan
// 扫描Servlet
@ServletComponentScan
// 扫描dao
@MapperScan("com.acxiom.foodreview.dao")
@EnableAutoConfiguration
public class Application {
	public static void main(String[] args) {

		SpringApplication.run(Application.class, args);
	}
}
